/////////////////////////////////////////////////////////////////////////////
// Name:        pkgmgrapp.h
// Purpose:     
// Author:      yospaly
// Modified by: 
// Created:     11/12/2008 23:24:44
// RCS-ID:      
// Copyright:   Copyright (C) 2008, yospaly
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _PKGMGRAPP_H_
#define _PKGMGRAPP_H_


/*!
 * Includes
 */

////@begin includes
#include "wx/image.h"
#include "MainFrame.h"
////@end includes

/*!
 * Forward declarations
 */

class wxSingleInstanceChecker;

////@begin forward declarations
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
////@end control identifiers

/*!
 * PkgMgrApp class declaration
 */

class PkgMgrApp: public wxApp
{    
    DECLARE_CLASS( PkgMgrApp )
    DECLARE_EVENT_TABLE()

public:
    /// Constructor
    PkgMgrApp();

    void Init();

    /// Initialises the application
    virtual bool OnInit();

    /// Called on exit
    virtual int OnExit();

////@begin PkgMgrApp event handler declarations

////@end PkgMgrApp event handler declarations

////@begin PkgMgrApp member function declarations

////@end PkgMgrApp member function declarations

////@begin PkgMgrApp member variables
////@end PkgMgrApp member variables
    
protected:
	wxSingleInstanceChecker* _checker;
};

/*!
 * Application instance declaration 
 */

////@begin declare app
DECLARE_APP(PkgMgrApp)
////@end declare app

#endif
    // _PKGMGRAPP_H_
